import type { paths as UserPaths } from '../../output/swagger/all'


// 2. 导入类型工具
import {
    makeURL,
    type MakeURL,
} from '@shixinde/apifox-swagger/types'

// 3. 创建类型安全的 URL（传入 paths 类型）
const orderUrl = makeURL<UserPaths, '/api/omo/course/order/new', 'post'>('/api/omo/course/order/new', 'post')

// 4. 提取类型信息
type OrderAPI = MakeURL<UserPaths, '/api/omo/course/order/new', 'post'>
type RequestData = OrderAPI['jsonData']     // 请求体类型
type ResponseData = OrderAPI['responseData'] // 响应体类型
